package com.qf.service.impl;
import com.qf.dao.AccountDao;
import com.qf.dao.impl.AccountDaoImpl;
import com.qf.service.AccountService;

/**
 * @Description: 公用常量
 * @Data: 2022/8/27 17:22
 * @Pacakge: com.qf.service.impl
 * @ClassName: AccountServiceImpl
 * @Author: fan
 * 账户管理的业务实现类
 */
public class AccountServiceImpl implements AccountService {
    private AccountDao accountDao = new AccountDaoImpl();
    /**
     * 模仿添加业务
     */
    @Override
    public void addAccount() {
        //打印每次的对象
        System.out.println(accountDao);
        //调用数据访问接口
        accountDao.addAccount();

    }
}
